<p>Please make sure to <strong>click 'Finalize Your Order'</strong> after confirming payment, this way you can get instant access to our videos</p>
<p>2Checkout.com, Inc. is an authorized retailer of pinoytuner.com</p>
<?PHP
global $conf;
$issandbox='N';
if($conf->a['purchase-sandbox']=='true')
{
	$issandbox='Y';
}


begin_form('',$id,'https://www.2checkout.com/checkout/purchase',TRUE);
?>
	<input type='hidden' name='sid' value='1448265' />
	 <input type='hidden' name='total' value='<?PHP echo $_SESSION["Payment_Amount"];?>' />
<input type='hidden' name='cart_order_id' value='<?PHP echo $_SESSION["transid"];?>' />

<input type='hidden' name='fixed' value='Y' />
<input type='hidden' name='id_type' value='1' />
<input type='hidden' name='pay_method' value='PPI' />
<input type='hidden' name='skip_landing' value='Y' />
<input type='hidden' name='demo' value='<?PHP echo $issandbox;?>' />
<input type='hidden' name='x_receipt_link_url' value='<?PHP echo $conf->absolute_path;?>buy/<?PHP echo $_SESSION["content"];?>/confirm' />
<input type='hidden' name='card_holder_name' value='<?PHP echo $_SESSION["ud"]["serial_first_name"];?> <?PHP echo $_SESSION["ud"]["serial_last_name"];?>' />
<input type='hidden' name='street_address' value='<?PHP echo $_SESSION["ud"]["serial_user_address"];?> ' />
<input type='hidden' name='city' value='<?PHP echo $_SESSION["ud"]["serial_user_city"];?> ' />
<input type='hidden' name='country' value='<?PHP echo $_SESSION["ud"]["serial_country"];?> ' />
<input type='hidden' name='state' value='<?PHP echo $_SESSION["ud"]["serial_user_state"];?> ' />
<input type='hidden' name='zip' value='<?PHP echo $_SESSION["ud"]["serial_user_zip"];?> ' />
<input type='hidden' name='email' value='<?PHP echo $_SESSION["ud"]["user_email"];?> ' />
<input type='hidden' name='phone' value='<?PHP echo $_SESSION["ud"]["serial_user_mobile"];?> ' />
<input type='hidden' name='return_url' value='<?PHP echo $conf->absolute_path;?>buy/<?PHP echo $_SESSION["content"];?>/confirm' />
	

<div class='fi'> <input name="submit" type='submit' value='Proceed to 2Checkout' class="buttonSubmit" id='proceedtocheckout'/> </div>

<?PHP

	end_form('');
?>
<script type="text/javascript" charset="utf-8">

//	$(document).ready(function() {
//	 	 $('#proceedtocheckout').click(function(){

//				$('#proceedtocheckout').attr('value','Please Wait');
//			$('#proceedtocheckout').attr('disabled','disabled');
//			$('#data_form').submit();

//		});
	});
	
</script>